package com.wzq.animal.back.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzq.animal.back.pojo.Files;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface FilesMapper extends BaseMapper<Files> {

    @Update("update file set original_name=#{originalName} where id=#{id}")
    int updateOriginalNameById(int id, String originalName);
}
